package cn.zn.base.common.enums;

/**
 * 操作人类别
 *
 * @author zn-admin
 */
public enum OperatorType {

    /**
     * 其它
     */
    OTHER("0", "其它"),

    /**
     * 后台用户
     */
    MANAGE("1", "后台"),

    /**
     * 手机端用户
     */
    MOBILE("2", "手机端"),

    /**
     * 接口
     */
    API("3", "接口");

    private final String code;
    private final String info;

    OperatorType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
